{menuList}
<br>
<span id="hktime"></span>，
<span id="countdownstr"></span>

<script>
var now = new Date(1000 * {phptime});
nowdate();
function nowdate()
{
    document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds()+"</b>");
    now.setTime(now.getTime() + 1000);
    setTimeout("nowdate()",1000);
}


var timestap = {timestap};
function countdown()
{
    if (timestap >= 0) {
        timediff = timestap;
        days = Math.floor(timediff / (60 * 60 * 24)); 
    	timediff -= days * (60 * 60 * 24);
    	hours = Math.floor(timediff / (60 * 60));
    	timediff -= hours * (60 * 60);	
    	mins = Math.floor(timediff / (60));
    	timediff -= mins * (60);	
    	secs = Math.floor(timediff);
        
        str = "距离截止下注时间还有 ";
        if (days > 0 ) str += "<b>" + days + "</b> 天 ";
        if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
        if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
        str += "<b>" + secs + "</b> 秒 ";
        countdownstr.innerHTML =  str;
        setTimeout("countdown()",1000)
        timestap-=1;
        if (timestap==0) {
            //location.reload();
			My_Reload();
        }
    } else {
        countdownstr.innerHTML =  "<font color=red><b>已经截止下注！</b></font>";
    }
}
countdown();

function My_Reload()
{
	location.href = "op.php?op=agent&fp={fp}&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&count=" + (new Date()).getTime();
}

</script>

<table cellSpacing="1" cellPadding="3" width="850" border="0" bgcolor="#6A99A6">
  <tr bgcolor="#C0D6EB">
        <td width="100%" align="center"><b>四全中</b>
      <table id="table15" cellSpacing="1" cellPadding="0" border="0" width="850" style="text-align:center">
      <tr>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
      <td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
      <td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
      <td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
      <td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
      <td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">号码</font></div>
  		</td>
  		<td bgColor="#5a79c6" height="20" width="52">
  		<div align="center">
  			<font color="#ffffff">赔率</font></div>
  		</td>
  		</tr>
      {rate_list}
    </table>
    </td>
  </tr>
  <tr bgcolor="#FFFFFF"><td>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr valign="top" width="100%">
        <td width="100" bgcolor="#FFFFFF">{list0}</td>
	    <td width="100" bgcolor="#FFFFFF">{list1}</td>
	    <td width="100" bgcolor="#FFFFFF">{list2}</td>
	    <td width="100" bgcolor="#FFFFFF">{list3}</td>
	    <td width="100" bgcolor="#FFFFFF">{list4}</td>
	    <td width="100" bgcolor="#FFFFFF">{list5}</td>
	    <td width="100" bgcolor="#FFFFFF">{list6}</td>
	    <td width="100" bgcolor="#FFFFFF">{list7}</td>
	    <td width="100" bgcolor="#FFFFFF">{list8}</td>
    </tr>
  </table>
  </td></tr>
</table>
{totall}

<p>
<input type=button value="重新整理" onclick='My_Reload()'>&#12288;
<input type=button value="回上一页" onclick='history.back()'>
</p>